import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { InboxPageComponent } from './inbox-page/inbox-page.component';
import { InboxChatPageComponent } from './inbox-chat-page/inbox-chat-page.component';
import { RouterModule } from '@angular/router';
import { EmbedModule } from '../embed/embed.module';
import { BrowserModule } from '@angular/platform-browser';
import { MomentModule } from 'ngx-moment';
import { FormsModule } from '@angular/forms';
import { SentMessageFormEmbedComponent } from './sent-message-form-embed/sent-message-form-embed.component';
import { MemberNoticeMessageComponent } from './member-notice-message/member-notice-message.component';
@NgModule({
  declarations: [InboxPageComponent, InboxChatPageComponent, SentMessageFormEmbedComponent,  MemberNoticeMessageComponent],
  imports: [
    BrowserModule,
    CommonModule,
    RouterModule,
    FormsModule,
    EmbedModule,
    MomentModule.forRoot({
      relativeTimeThresholdOptions: {
        'm': 59
      }
    })
  ],
  exports: [SentMessageFormEmbedComponent,MemberNoticeMessageComponent]
})
export class MessageModule { }
